package com.baosight.risk.mapper.riwa;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.riwa.entity.RiwaEquityInvest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RiwaEquityInvestMapper extends BaseMapper<RiwaEquityInvest> {

    List<RiwaEquityInvest> selectByMainId(@Param("mainId") String mainId);

    Integer deleteByMainId(@Param("mainId") String mainId);

    List<RiwaEquityInvest> selectLastQuarter(@Param("acctYear") String acctYear1, @Param("quarter") String quarter1);
}